package com.label.App;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.ComponentScan;
import springfox.documentation.oas.annotations.EnableOpenApi;

@SpringBootApplication
@ComponentScan("com.label")
@EnableCaching
@MapperScan("com.label.Dao")
@ServletComponentScan
@EnableOpenApi
public class LabelApp {
    public static void main(String[] args) {
        SpringApplication.run(LabelApp.class, args);
        System.out.println("服务启动成功");
    }

}

